package com.example.cloudmusicserve.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonSubTypes;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * @description: UserMessage
 * @author: xiaoyuan
 * @time: 2023/5/27
 */
@Data
@TableName("userMsg")
public class UserMessage {
    @TableId(type = IdType.AUTO)
    @ApiModelProperty("用户ID")
    private Integer id;
    @ApiModelProperty("用户账号")
    private String username;
    @ApiModelProperty("用户密码")
    private String password;
    @ApiModelProperty("性别")
    private String sex;
    @ApiModelProperty("签名")
    private String autograph;
    @ApiModelProperty("生日")
    private String birthday;
    @ApiModelProperty("地址")
    private String address;
    @ApiModelProperty("头像")
    private String imageUrl;
    @ApiModelProperty("昵称")
    private String nickName;
}